package cn.zhiwen.util;

import cn.zhiwen.commonurl.UrlData;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.client.RestTemplate;

public class UploadData {

    @Value("${wx_token}")
    private String token;
    @Value("${wx_appid}")
    private String appid;
    @Value("${wx_grant_type}")
    private String grant_type;
    @Value("${wx_secret}")
    private String secret;
    @Value("${wx_EncodingAESKey}")
    private String EncodingAESKey;
    @Value("${wx_access_token}")
    private String access_token;

    public String uploadImage(RestTemplate restTemplate) {

        restTemplate.postForEntity(UrlData.upload_data+access_token,"",String.class);

        return null;
    }

}
